package com.travel.dao.access_token;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface Access_TokenMapper {

    //将微信api请求返回的access_token保存到数据库中
    void updateAccess_token(@Param("access_token")String access_token);

    //获取access_token
    String getAccess_token();
}
